﻿@using Microsoft.AspNet.Identity

@using(Html.BeginForm("LogOff", "ClubAccount", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
    @Html.AntiForgeryToken()

    <ul class="nav navbar-nav navbar-right">
        <li>
            @Html.ActionLink("Hey " + User.Identity.GetUserName() + "!", "Manage", "ClubAccount", routeValues: null, htmlAttributes: new { title = "Manage" })
        </li>
        <li><a href="javascript:document.getElementById('logoutForm').submit()">Wyloguj się</a></li>
    </ul>
}


